<script>
	export let name;
	export let color = '#456789';
	export let size = '32px';
</script>

<svg class="icon" aria-hidden="true" style={'color:' + color + ';font-size:' + size}>
	<use xlink:href={'#icon-' + name} />
</svg>

<style>
	.icon {
		width: 1em;
		height: 1em;
		vertical-align: -0.15em;
		fill: currentColor;
		overflow: hidden;
	}
</style>
